import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/scss/main.scss'
import './assets/common.css'
import './assets/font_1832691_04ct1wzpnd31/iconfont.css'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import axios from 'axios'
axios.defaults.withCredentials=true;
// import style
import 'swiper/css/swiper.css'
Vue.use(VueAwesomeSwiper, /* { default options with global component } */)
Vue.config.productionTip = false
import http from './axios/index'
Vue.prototype.$http = http
import './mock/mockServe'
//图片懒加载
import loading from './assets/loading.gif'
import VueLazyload from 'vue-lazyload'
Vue.use(VueLazyload, {  //内部自定义一个指令lazy
  loading
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
